package com.canbot.u05.activity.version;


/**
 * Created by Administrator on 2018/3/7.
 */

public class MobVersionResponse {
        //app 的包名
        private String packageName ;
        //app 的版本号
        private String version ;
        //app 的下载路径
        private String downloadUrl ;
        private String appName ;

        public boolean isPatch() {
                return isPatch;
        }

        public void setPatch(boolean patch) {
                isPatch = patch;
        }

        // 是补丁包还是 apk
        private boolean isPatch ;

        public MobVersionResponse(String packageName, String version, String downloadUrl) {
                this.packageName = packageName;
                this.version = version;
                this.downloadUrl = downloadUrl;
        }

        public MobVersionResponse() {
        }

        public String getAppName() {
                return this.appName;
        }
        public void setAppName(String appName) {
                this.appName = appName;
        }

        public String getPackageName() {
                return packageName;
        }

        public void setPackageName(String packageName) {
                this.packageName = packageName;
        }

        public String getVersion() {
                return version;
        }

        public void setVersion(String version) {
                this.version = version;
        }

        public String getDownloadUrl() {
                return downloadUrl;
        }

        public void setDownloadUrl(String downloadUrl) {
                this.downloadUrl = downloadUrl;
        }

        @Override
        public String toString() {
                return "MobVersionResponse{" +
                        "packageName='" + packageName + '\'' +
                        ", version='" + version + '\'' +
                        ", downloadUrl='" + downloadUrl + '\'' +
                        ", isPatch='" + isPatch + '\'' +
                        '}';
        }
}
